package com.wootion.dizhi.service;

import com.wootion.dizhi.entity.Category;
import com.wootion.dizhi.entity.Photograph;
import com.wootion.dizhi.exception.BusinessException;
import com.wootion.dizhi.response.Result;
import com.wootion.dizhi.vo.Condition;
import com.wootion.dizhi.vo.MoveVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.FileNotFoundException;
import java.util.List;

public interface MyPluginService {
    Result insertCategory(Category category) throws BusinessException;
    Result updateCategory(Category category);
    Result deleteCategory(String id);
    Result tree();
    Result addFile(String id, MultipartFile[] multipartFiles);
    Result list(Condition condition);
    Result updateFileName(Photograph photograph);
    Result deleteFile(List<String> ids);
    Result moveFile(MoveVo moveVo);
    Result exportFile(String id) throws FileNotFoundException;
    Result comparisonData(String address,String experiment);
    Result selectDevice(String address);
}
